package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.dto.BaseMeasurementQueryDto;
import com.kaili.basic.pojo.entity.BaseMeasurement;
import com.kaili.basic.pojo.entity.BaseMeasurementExport;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseMeasurementMapper {

    void addMeasurement(BaseMeasurement measurement);

    void deleteMeasurement(Long measurementId);

    void updateMeasurement(BaseMeasurement measurement);

    List<BaseMeasurement> queryMeasurement(Pagination page, BaseMeasurementQueryDto maintenance);

    List<BaseMeasurementExport> queryMeasurementExport(BaseMeasurementQueryDto queryDto);

    String getMeasurementCode();
}
